//
// Created by 段大志 on 15/12/27.
// Copyright (c) 2015 MengHuan. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "JSONModel.h"

@protocol SysMenuObject;
@class NoticePage;
@class SysUser;
@class SysUnit;

#define DefaultKey_UserInfo   @"DefaultKey_UserInfo"
#define DeafaultKey_HomeTotalModel   @"DeafaultKey_HomeTotalModel"

@interface UserModel : JSONModel
@property (strong, nonatomic) NSString<Optional>*     username;
@property (strong, nonatomic) NSString<Optional>*     pwd;
@property (strong, nonatomic) NSMutableArray<Optional> *griddingArea;//网格信息
@property (strong, nonatomic) NSString<Optional>*   token;
@property (strong, nonatomic) NSString<Optional>*   pendingOrderNum; //待处理工单数
@property (strong, nonatomic) NSString<Optional>*   pendingWebstieNum; //待处理门店签约数
@property (strong, nonatomic) NSString<Optional>*   pendingBlackNum; //后台业务待处理条数
@property (strong, nonatomic) NSMutableArray<SysMenuObject, ConvertOnDemand, Optional>* sysMenuList; //菜单列表
@property (strong, nonatomic) NoticePage<Optional>* noticePage; //未读公告对象列表
@property (strong, nonatomic) SysUser<Optional>*    sysUser;//用户信息
@property (strong, nonatomic) SysUnit<Optional>*    sysUnit;//分公司信息

@end